﻿using System.Collections.Generic;
using System.Threading.Tasks;
using NP.BPMReportPlatform.CustomerProfileConfig.Dto;
using NP.BPMReportPlatform.Hana.Dto;
using Volo.Abp.Application.Dtos;

namespace NP.BPMReportPlatform.Hana
{
    public interface IHanaService
    {
        /// <summary>
        /// 根据客户编码查询客户信息（默认展示10条匹配的数据）
        /// </summary>
        /// <param name="customerCode">客户编码</param>
        /// <returns></returns>
        Task<IList<GetKNA1CustomerOutput>> GetKNA1CustomerAsync(string customerCode);

        /// <summary>
        /// 根据送达方编码找售达方编码
        /// </summary>
        /// <param name="business">事业部</param>
        /// <param name="code">送达方编码</param>
        /// <returns></returns>
        Task<IList<SDFInfoOutput>> GetSDFInfo(string business, string code);
    }
}